package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * VIEW对象 v_mx_ware_in
 *
 * @author yushuaixm
 * @date 2024-08-21
 */
public class VMxWareIn extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long productId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long wareId;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long num;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String userId;

    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 型号
     */
    @Excel(name = "型号")
    private String model;

    /**
     * 颜色
     */
    @Excel(name = "颜色")
    private String color;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String gg;

    /**
     * 颜色
     */
    @Excel(name = "颜色")
    private String wcolor;

    /**
     * 规格名称
     */
    @Excel(name = "规格名称")
    private String ggName;

    /**
     * 供货价格
     */
    @Excel(name = "供货价格")
    private BigDecimal price;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setWareId(Long wareId) {
        this.wareId = wareId;
    }

    public Long getWareId() {
        return wareId;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public Long getNum() {
        return num;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModel() {
        return model;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setGg(String gg) {
        this.gg = gg;
    }

    public String getGg() {
        return gg;
    }

    public void setWcolor(String wcolor) {
        this.wcolor = wcolor;
    }

    public String getWcolor() {
        return wcolor;
    }

    public void setGgName(String ggName) {
        this.ggName = ggName;
    }

    public String getGgName() {
        return ggName;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productId", getProductId())
                .append("wareId", getWareId())
                .append("num", getNum())
                .append("userId", getUserId())
                .append("addtime", getAddtime())
                .append("upTime", getUpTime())
                .append("remark", getRemark())
                .append("name", getName())
                .append("model", getModel())
                .append("color", getColor())
                .append("gg", getGg())
                .append("wcolor", getWcolor())
                .append("ggName", getGgName())
                .append("price", getPrice())
                .toString();
    }
}
